package org.brisling.medical.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseMonitorDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;

@Entity
@Table(name=ConstSysParam.MODULE_MEDICAL_SINGLE_ENTITY_FEE)

public class MedicalSingleEntityFee extends BaseMonitorDomain implements BaseDomainInf{

	@Id
	@Column
	@GeneratedValue(strategy=GenerationType.TABLE,generator="medicalSingleEntityFeeGenerator")
	@TableGenerator(name="medicalSingleEntityFeeGenerator",
					table="sysman_generation_key",
					pkColumnValue=ConstSysParam.MODULE_MEDICAL_SINGLE_ENTITY_FEE,
					pkColumnName="primary_key",
					valueColumnName="key_value",
					allocationSize=1)
	private Long id;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	//超限患者数量
	private String parentid_all;
	
	//超限金额
	private String oversal_all;

	public String getOversal_all() {
		return oversal_all;
	}

	public void setOversal_all(String oversal_all) {
		this.oversal_all = oversal_all;
	}

	public String getParentid_all() {
		return parentid_all;
	}

	public void setParentid_all(String parentid_all) {
		this.parentid_all = parentid_all;
	}

	
	
}
